/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.lanchat.model.data;

import java.io.Serializable;
import java.util.Date;

/**
 * 通信记录信息类
 * @author MSX008
 */
public class LogInfo implements Serializable{
    private String msg;
    private Date date;
    private User user;

    public LogInfo(String str,Date date,User u){
        msg=str;
        this.date=date;
        user=u;
    }

    /**
     * @return the msg
     */
    public String getMsg() {
        return msg;
    }
    /**
     * @param msg the msg to set
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * @return the date
     */
    public Date getDate() {
        return date;
    }

    /**
     * @param date the date to set
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * @return the user
     */
    public User getUser() {
        return user;
    }

    /**
     * @param user the user to set
     */
    public void setUser(User user) {
        this.user = user;
    }
}
